<%@ Page Title="Resume Details" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" 
	Inherits="System.Web.Mvc.ViewPage<ETestIT.Core.Resume>" %>
<%@ Import Namespace="ETestIT.Web.Controllers" %>

<asp:Content ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

    <h1>Resume Details</h1>

    <ul>
		<li>
			<label for="Resume_Name">Name:</label>
            <span id="Resume_Name"><%= Server.HtmlEncode(ViewData.Model.Name.ToString()) %></span>
		</li>
		<li>
			<label for="Resume_Content">Content:</label>
            <span id="Resume_Content"><%= Server.HtmlEncode(ViewData.Model.Content.ToString()) %></span>
		</li>
		<li>
			<label for="Resume_ContentType">ContentType:</label>
            <span id="Resume_ContentType"><%= Server.HtmlEncode(ViewData.Model.ContentType.ToString()) %></span>
		</li>
		<li>
			<label for="Resume_Version">Version:</label>
            <span id="Resume_Version"><%= Server.HtmlEncode(ViewData.Model.Version.ToString()) %></span>
		</li>
	    <li class="buttons">
            <%= Html.Button("btnBack", "Back", HtmlButtonType.Button, 
                "window.location.href = '" + Html.BuildUrlFromExpression<ResumesController>(c => c.Index()) + "';") %>
        </li>
	</ul>

</asp:Content>
